<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/Main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Calendars</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="../../WinXStyles.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
	font-size: x-large;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style2 {
	font-size: large;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
</head>

<body>
<h1 class="style1"><img src="../../WinX48.png" width="48" height="48" align="absmiddle"> <!-- InstanceBeginEditable name="title" -->Calendars<!-- InstanceEndEditable --></h1>
<hr>
<!-- InstanceBeginEditable name="body" -->
<p><img src="calendar.PNG" width="204" height="181"></p>
<p>A calendar control provides a nice way for the user to enter a date. A single calendar control can display several months at a time. See the WinXAddCalendar function for details. Since calendar controls don't resize nicely, you should give them a fixed size if possible.</p>
<p>The date in a calendar control is set and retreived with a SYSTEMTIME structure. Look this up in the Win32 docs. Keep in mind that the hungarian prefixes have been eliminated in the XBlite version of the structure for some reason.</p>
<p>You can detect when the user selects a new date with the onCalendarSelect callback. </p>
<!-- InstanceEndEditable -->
<h2 class="style2">Related Links</h2>
<!-- InstanceBeginEditable name="Related Links" -->
<p><a href="timepickers.htm">Date/Time Picker Controls</a><br>
<a href="../../WinX%20Function%20Reference/Time%20and%20Date%20Controls.htm/WinXAddCalendar.htm">WinXAddCalendar</a><br>
<a href="../../WinX%20Function%20Reference/Callbacks.htm/onCalendarSelect.htm">WinXOnCalendarSelect</a></p>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
